using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using Tool.BaseClass;
using Tool.Model;
using Tool.Utilty;

namespace Tool
{
	public class Step2 : UserControl
	{
		private Timer timer = null;

		private System.ComponentModel.IContainer components = null;

		private GroupBox groupBox1;

		private Label label1;

		private TextBox tb_urls;

		private GroupBox groupBox2;

		private Label label2;

		private ComboBox cb_pathsetting;

		private Label label3;

		private ComboBox cb_timeout;

		private Button bt_download;

		private Label lb_msg;

		private GroupBox groupBox3;

		private ProgressBar pb_load;

		private Button bt_back;

		private System.ComponentModel.BackgroundWorker bgw;

		private Button bt_open;

		private Label lbFinishMsg;

		private Label lbTime;

		private ComboBox cbSimulation;

		private Label label4;

		private GroupBox groupBox4;

		private Label label5;

		private Button btnSelect;

		private TextBox tbFolderPath;

		private GroupBox groupBox5;

		private Label label6;

		private TextBox tx_cookie;

		private LinkLabel ll_used;

		private LinkLabel ll_weixin;

		public GClass26.GEnum4 _siteType
		{
			get;
			set;
		}

		public Step2(GClass26.GEnum4 siteType)
		{
			this._siteType = siteType;
			this.InitializeComponent();
			switch (this._siteType)
			{
			case GClass26.GEnum4.Computer:
				this.groupBox1.Text = "第二步：开始下载(电脑端网站)";
				break;
			case GClass26.GEnum4.Mobile:
				this.groupBox1.Text = "第二步：开始下载(移动端网站)";
				break;
			default:
				this.groupBox1.Text = "第二步：开始下载";
				break;
			}
			GClass27 gClass = GClass28.smethod_1();
			this.tbFolderPath.Text = gClass.Path;
		}

		private void bt_back_Click(object sender, EventArgs e)
		{
			base.Controls.Clear();
			base.Controls.Add(new Step1(this._siteType));
		}

		private void bt_download_Click(object sender, EventArgs e)
		{
			if (this.tbFolderPath.Text.Trim() == "")
			{
				MessageBox.Show("请选择保存地址！");
			}
			else
			{
				this.timer = new Timer();
				this.timer.Tick += new EventHandler(this.timer_Tick);
				this.timer.Tag = DateTime.Now;
				this.timer.Interval = 200;
				this.timer.Enabled = true;
				this.lbFinishMsg.Text = "";
				this.lb_msg.MouseHover -= new EventHandler(this.lb_msg_MouseHover);
				List<GClass29> list = GClass28.smethod_2();
				list.Clear();
				List<GClass30> list2 = GClass28.smethod_3();
				list2.Clear();
				List<GClass31> list3 = GClass28.smethod_4();
				list3.Clear();
				this.lb_msg.ForeColor = System.Drawing.Color.Green;
				if (this.bgw.IsBusy)
				{
					this.lb_msg.Text = "系统运行中，请稍候再试……";
					this.lb_msg.ForeColor = System.Drawing.Color.Red;
					this.lb_msg.Visible = true;
				}
				else
				{
					GClass19.GClass22 gClass = this.method_0();
					this.bt_open.Visible = false;
					this.bt_open.Tag = gClass._rootWebSite.Replace("/", "\\");
					this.bgw.RunWorkerAsync(gClass);
				}
			}
		}

		private void bgw_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
		{
			GClass19.GClass22 gClass = (GClass19.GClass22)e.Argument;
			GClass53 gClass2 = new GClass53();
			try
			{
				gClass2.method_0(gClass);
				string arg = string.Concat(new string[]
				{
					"执行完成，运行出错数：“",
					gClass.Collections.log.Count.ToString(),
					"”，下载失败数：“",
					gClass.Collections.hashTableFailSecond.Count.ToString(),
					"”，链接失效数：“",
					gClass.Collections.hashTableNoExists.Count.ToString(),
					"”"
				});
				gClass.MsgToolTip(null);
				gClass.ReportMessageProgressAction(gClass, arg, 100, GClass19.GClass25.GEnum1.Finished);
			}
			catch (Exception ex)
			{
				gClass.ReportMessageProgressAction(gClass, "下载出错:" + ex.Message.ToString(), 0, GClass19.GClass25.GEnum1.Error);
			}
		}

		private void bgw_ProgressChanged(object sender, System.ComponentModel.ProgressChangedEventArgs e)
		{
			GClass19.GClass25 gClass = (GClass19.GClass25)e.UserState;
			switch (gClass.Action)
			{
			case GClass19.GClass25.GEnum1.Begin:
			{
				this.pb_load.Value = e.ProgressPercentage;
				this.lb_msg.Text = gClass.Information;
				this.lb_msg.ForeColor = System.Drawing.Color.Blue;
				Control arg_91_0 = this.cb_pathsetting;
				Control arg_8B_0 = this.cb_timeout;
				Control arg_85_0 = this.bt_back;
				this.bt_download.Enabled = false;
				arg_85_0.Enabled = false;
				arg_8B_0.Enabled = false;
				arg_91_0.Enabled = false;
				break;
			}
			case GClass19.GClass25.GEnum1.Error:
			{
				this.pb_load.Value = 0;
				this.lb_msg.Text = gClass.Information;
				this.lb_msg.ForeColor = System.Drawing.Color.Red;
				Control arg_F3_0 = this.cb_pathsetting;
				Control arg_ED_0 = this.cb_timeout;
				Control arg_E7_0 = this.bt_back;
				this.bt_download.Enabled = true;
				arg_E7_0.Enabled = true;
				arg_ED_0.Enabled = true;
				arg_F3_0.Enabled = true;
				break;
			}
			case GClass19.GClass25.GEnum1.Message:
				this.pb_load.Value = e.ProgressPercentage;
				this.lb_msg.Text = gClass.Information;
				this.lb_msg.ForeColor = System.Drawing.Color.Blue;
				break;
			case GClass19.GClass25.GEnum1.MessageOnly:
				this.lb_msg.Text = gClass.Information;
				this.lb_msg.ForeColor = System.Drawing.Color.Blue;
				break;
			case GClass19.GClass25.GEnum1.Finished:
			{
				this.pb_load.Value = e.ProgressPercentage;
				this.lb_msg.Text = gClass.Information;
				this.lb_msg.ForeColor = System.Drawing.Color.Blue;
				Control arg_1B4_0 = this.cb_pathsetting;
				Control arg_1AE_0 = this.cb_timeout;
				Control arg_1A8_0 = this.bt_back;
				this.bt_download.Enabled = true;
				arg_1A8_0.Enabled = true;
				arg_1AE_0.Enabled = true;
				arg_1B4_0.Enabled = true;
				this.bt_open.Visible = true;
				break;
			}
			}
		}

		private void bgw_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
		{
			this.pb_load.Value = 100;
			this.lbFinishMsg.Text = "下载完成";
			this.lbFinishMsg.ForeColor = System.Drawing.Color.Blue;
			this.bt_download.Text = "重新下载";
			this.bgw.Dispose();
			this.timer.Enabled = false;
		}

		private GClass19.GClass22 method_0()
		{
			List<GClass32> list = GClass28.smethod_5();
			string urlHref = list[0].UrlHref;
			string str = this.tbFolderPath.Text.Trim();
			string str2 = "/" + new System.Uri(urlHref).Host.ToString();
			GClass27 gClass = GClass28.smethod_1();
			GClass19.GClass22 gClass2 = new GClass19.GClass22
			{
				_rootWebSite = str + str2,
				_Timeout = int.Parse(this.cb_timeout.SelectedValue.ToString()) * 1000,
				_DirectoryBackground = gClass.BackgroundImageFilePath,
				_DirectoryCss = gClass.CssFilePath,
				_DirectoryFlash = gClass.FlashFilePath,
				_DirectoryJs = gClass.JsFilePath,
				_DirectoryPicture = gClass.PictureFilePath,
				_DirectoryFonts = gClass.FontPath,
				ReportMessage = new Action<GClass19.GClass22, string>(this.method_2),
				ReportMessageProgress = new Action<GClass19.GClass22, string, int>(this.method_3),
				ReportMessageProgressAction = new Action<GClass19.GClass22, string, int, GClass19.GClass25.GEnum1>(this.method_4),
				MsgToolTip = new Action<string>(this.method_1),
				UserAgent = GClass0.smethod_13(int.Parse(this.cbSimulation.SelectedValue.ToString()))
			};
			bool flag = int.Parse(this.cb_pathsetting.SelectedValue.ToString()) == 1;
			gClass2._CssBackground = (flag ? gClass2._DirectoryBackground : GClass0.smethod_10(gClass2._DirectoryCss, gClass2._DirectoryBackground));
			gClass2._CssFonts = (flag ? gClass2._DirectoryFonts : GClass0.smethod_10(gClass2._DirectoryCss, gClass2._DirectoryFonts));
			List<GClass19.GClass22.GClass23> list2 = new List<GClass19.GClass22.GClass23>();
			string cookies = this.tx_cookie.Text.Trim();
			for (int i = 0; i < list.Count; i++)
			{
				GClass19.GClass22.GClass23 gClass3 = new GClass19.GClass22.GClass23
				{
					_Url = list[i].UrlHref.Trim(),
					_FilePath = list[i].UrlFilePath.Trim(),
					_FileName = list[i].UrlFileName.Trim(),
					_PageCodeString = list[i].UrlEncoding.Trim()
				};
				gClass3._Cookies = cookies;
				gClass3._HtmlBackground = (flag ? gClass2._DirectoryBackground : GClass0.smethod_10(gClass3._FilePath, gClass2._DirectoryBackground));
				gClass3._HtmlFlash = (flag ? gClass2._DirectoryFlash : GClass0.smethod_10(gClass3._FilePath, gClass2._DirectoryFlash));
				gClass3._HtmlLink = (flag ? gClass2._DirectoryCss : GClass0.smethod_10(gClass3._FilePath, gClass2._DirectoryCss));
				gClass3._HtmlPicture = (flag ? gClass2._DirectoryPicture : GClass0.smethod_10(gClass3._FilePath, gClass2._DirectoryPicture));
				gClass3._HtmlScript = (flag ? gClass2._DirectoryJs : GClass0.smethod_10(gClass3._FilePath, gClass2._DirectoryJs));
				list2.Add(gClass3);
			}
			gClass2._Lists = list2;
			return gClass2;
		}

		private void Step2_Load(object sender, EventArgs e)
		{
			Form parentForm = base.ParentForm;
			if (!parentForm.Text.Equals("仿站小工具 V" + GClass47.Ver))
			{
				base.ParentForm.Close();
			}
			else
			{
				GClass33 gClass = GClass28.smethod_6();
				this.tx_cookie.Text = gClass.Cookies;
				ArrayList arrayList = new ArrayList();
				arrayList.Add(new GClass35("相对路径", "0"));
				arrayList.Add(new GClass35("绝对路径", "1"));
				this.cb_pathsetting.DataSource = arrayList;
				this.cb_pathsetting.DisplayMember = "DisplayText";
				this.cb_pathsetting.ValueMember = "RealValue";
				this.cb_pathsetting.SelectedIndex = 0;
				ArrayList arrayList2 = new ArrayList();
				switch (this._siteType)
				{
				case GClass26.GEnum4.Computer:
					for (int i = 1; i <= 4; i++)
					{
						arrayList2.Add(new GClass35(GClass37.smethod_2<GClass26.GEnum3>(i), i.ToString()));
					}
					break;
				case GClass26.GEnum4.Mobile:
					for (int i = 5; i <= 25; i++)
					{
						arrayList2.Add(new GClass35(GClass37.smethod_2<GClass26.GEnum3>(i), i.ToString()));
					}
					break;
				}
				this.cbSimulation.DataSource = arrayList2;
				this.cbSimulation.DisplayMember = "DisplayText";
				this.cbSimulation.ValueMember = "RealValue";
				this.cbSimulation.SelectedIndex = 0;
				ArrayList arrayList3 = new ArrayList();
				arrayList3.Add(new GClass35("10秒", "10"));
				arrayList3.Add(new GClass35("15秒", "15"));
				arrayList3.Add(new GClass35("20秒", "20"));
				arrayList3.Add(new GClass35("25秒", "25"));
				arrayList3.Add(new GClass35("30秒", "30"));
				arrayList3.Add(new GClass35("35秒", "35"));
				arrayList3.Add(new GClass35("40秒", "40"));
				arrayList3.Add(new GClass35("45秒", "45"));
				arrayList3.Add(new GClass35("50秒", "50"));
				arrayList3.Add(new GClass35("55秒", "55"));
				arrayList3.Add(new GClass35("60秒", "60"));
				this.cb_timeout.DataSource = arrayList3;
				this.cb_timeout.DisplayMember = "DisplayText";
				this.cb_timeout.ValueMember = "RealValue";
				this.cb_timeout.SelectedIndex = 0;
				List<GClass32> list = GClass28.smethod_5();
				string text = "";
				for (int i = 0; i < list.Count; i++)
				{
					text = text + ((i > 0) ? "\r\n" : "") + list[i].UrlHref;
				}
				this.tb_urls.Text = text;
				this.lbFinishMsg.Text = "";
				this.lb_msg.ForeColor = System.Drawing.Color.Blue;
			}
		}

		private void tb_urls_MouseHover(object sender, EventArgs e)
		{
			GClass54.Object.method_0(sender, "修改网址请点击右下角的[返回第一步]");
		}

		private void cb_pathsetting_MouseHover(object sender, EventArgs e)
		{
			GClass54.Object.method_0(sender, "如“user目录下的default.html引用js目录下的jquery.js”，\r\n相对路径则是：“../js/jquery.js”，绝对路径则是：“/js/jquery.js”");
		}

		private void lb_msg_MouseHover(object sender, EventArgs e)
		{
			GClass54.Object.method_0(sender, "查看详细信息请点击菜单栏中的“数据报表”");
		}

		public void bt_open_Click(object sender, EventArgs e)
		{
			if (this.bt_open.Tag != null)
			{
				System.Diagnostics.Process.Start("explorer.exe", this.bt_open.Tag.ToString());
			}
		}

		public void method_1(string string_0)
		{
			this.lb_msg.MouseHover += new EventHandler(this.lb_msg_MouseHover);
		}

		public void method_2(GClass19.GClass22 gclass22_0, string string_0)
		{
			this.method_4(gclass22_0, string_0, 0, GClass19.GClass25.GEnum1.MessageOnly);
		}

		public void method_3(GClass19.GClass22 gclass22_0, string string_0, int int_0)
		{
			this.method_4(gclass22_0, string_0, int_0, GClass19.GClass25.GEnum1.Message);
		}

		public void method_4(GClass19.GClass22 gclass22_0, string string_0, int int_0, GClass19.GClass25.GEnum1 genum1_0)
		{
			GClass19.GClass25 gClass = new GClass19.GClass25
			{
				Action = genum1_0,
				Information = string_0
			};
			try
			{
				this.bgw.ReportProgress(int_0, gClass);
			}
			catch
			{
				gclass22_0.Collections.log.Add(new GClass19.GClass21
				{
					Category = GClass19.GClass21.GEnum0.ReportProgressFail,
					Message = gClass.Information
				});
			}
		}

		private void timer_Tick(object sender, EventArgs e)
		{
			DateTime now = DateTime.Now;
			TimeSpan timeSpan = now - (DateTime)((Timer)sender).Tag;
			this.lbTime.Text = new DateTime((long)(timeSpan.TotalMilliseconds * 10000.0)).ToString("HH:mm:ss");
		}

		private void btnSelect_Click(object sender, EventArgs e)
		{
			FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
			folderBrowserDialog.Description = "选择保存目录";
			folderBrowserDialog.ShowDialog();
			this.tbFolderPath.Text = folderBrowserDialog.SelectedPath;
			GClass27 gClass = GClass28.smethod_1();
			gClass.Path = folderBrowserDialog.SelectedPath;
		}

		private void tx_cookie_MouseHover(object sender, EventArgs e)
		{
			GClass54.Object.method_0(sender, "不需要登录请留空，需要登录页面请输入格式如：a=1; b=2");
		}

		private void tx_cookie_TextChanged(object sender, EventArgs e)
		{
			string text = this.tx_cookie.Text.Trim();
			if (!string.IsNullOrEmpty(text))
			{
				GClass33 gClass = GClass28.smethod_6();
				gClass.Cookies = text;
			}
		}

		private void ll_used_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			string fileName = "https://smalltool.github.io/2016/08/02/cookie/";
			System.Diagnostics.Process.Start(fileName);
		}

		private void ll_weixin_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			string fileName = "https://smalltool.github.io/2016/08/02/cookie_weixin/";
			System.Diagnostics.Process.Start(fileName);
		}

		//protected override void vmethod_0(bool bool_0)
		//{
		//	if (bool_0 && this.components != null)
		//	{
		//		this.components.Dispose();
		//	}
		//	base.Dispose(bool_0);
		//}

		private void InitializeComponent()
		{
			this.groupBox1 = new GroupBox();
			this.groupBox5 = new GroupBox();
			this.btnSelect = new Button();
			this.label5 = new Label();
			this.tbFolderPath = new TextBox();
			this.groupBox4 = new GroupBox();
			this.ll_used = new LinkLabel();
			this.tx_cookie = new TextBox();
			this.label6 = new Label();
			this.lbFinishMsg = new Label();
			this.bt_back = new Button();
			this.bt_download = new Button();
			this.groupBox3 = new GroupBox();
			this.lbTime = new Label();
			this.bt_open = new Button();
			this.pb_load = new ProgressBar();
			this.lb_msg = new Label();
			this.groupBox2 = new GroupBox();
			this.cbSimulation = new ComboBox();
			this.label4 = new Label();
			this.label3 = new Label();
			this.cb_timeout = new ComboBox();
			this.cb_pathsetting = new ComboBox();
			this.label2 = new Label();
			this.label1 = new Label();
			this.tb_urls = new TextBox();
			this.bgw = new System.ComponentModel.BackgroundWorker();
			this.ll_weixin = new LinkLabel();
			this.groupBox1.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			base.SuspendLayout();
			this.groupBox1.Controls.Add(this.groupBox5);
			this.groupBox1.Controls.Add(this.groupBox4);
			this.groupBox1.Controls.Add(this.lbFinishMsg);
			this.groupBox1.Controls.Add(this.bt_back);
			this.groupBox1.Controls.Add(this.bt_download);
			this.groupBox1.Controls.Add(this.groupBox3);
			this.groupBox1.Controls.Add(this.groupBox2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.tb_urls);
			this.groupBox1.Location = new System.Drawing.Point(20, 20);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Padding = new Padding(20);
			this.groupBox1.Size = new System.Drawing.Size(632, 400);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "第二步：开始下载";
			this.groupBox5.Controls.Add(this.btnSelect);
			this.groupBox5.Controls.Add(this.label5);
			this.groupBox5.Controls.Add(this.tbFolderPath);
			this.groupBox5.Location = new System.Drawing.Point(25, 224);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(584, 39);
			this.groupBox5.TabIndex = 8;
			this.groupBox5.TabStop = false;
			this.btnSelect.Location = new System.Drawing.Point(468, 13);
			this.btnSelect.Name = "btnSelect";
			this.btnSelect.Size = new System.Drawing.Size(86, 20);
			this.btnSelect.TabIndex = 3;
			this.btnSelect.Text = "选择…";
			this.btnSelect.UseVisualStyleBackColor = true;
			this.btnSelect.Click += new EventHandler(this.btnSelect_Click);
			this.label5.AutoSize = true;
			this.label5.Location = new System.Drawing.Point(23, 16);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(53, 12);
			this.label5.TabIndex = 1;
			this.label5.Text = "保存地址";
			this.tbFolderPath.Location = new System.Drawing.Point(82, 13);
			this.tbFolderPath.Name = "tbFolderPath";
			this.tbFolderPath.ReadOnly = true;
			this.tbFolderPath.Size = new System.Drawing.Size(381, 21);
			this.tbFolderPath.TabIndex = 2;
			this.groupBox4.Controls.Add(this.ll_weixin);
			this.groupBox4.Controls.Add(this.ll_used);
			this.groupBox4.Controls.Add(this.tx_cookie);
			this.groupBox4.Controls.Add(this.label6);
			this.groupBox4.Location = new System.Drawing.Point(25, 179);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Size = new System.Drawing.Size(584, 39);
			this.groupBox4.TabIndex = 7;
			this.groupBox4.TabStop = false;
			this.ll_used.ActiveLinkColor = System.Drawing.Color.Blue;
			this.ll_used.AutoSize = true;
			this.ll_used.Location = new System.Drawing.Point(471, 19);
			this.ll_used.Name = "ll_used";
			this.ll_used.Size = new System.Drawing.Size(65, 12);
			this.ll_used.TabIndex = 7;
			this.ll_used.TabStop = true;
			this.ll_used.Text = "如何使用？";
			this.ll_used.VisitedLinkColor = System.Drawing.Color.Blue;
			this.ll_used.LinkClicked += new LinkLabelLinkClickedEventHandler(this.ll_used_LinkClicked);
			this.tx_cookie.Location = new System.Drawing.Point(82, 14);
			this.tx_cookie.Name = "tx_cookie";
			this.tx_cookie.Size = new System.Drawing.Size(380, 21);
			this.tx_cookie.TabIndex = 6;
			this.tx_cookie.TextChanged += new EventHandler(this.tx_cookie_TextChanged);
			this.tx_cookie.MouseHover += new EventHandler(this.tx_cookie_MouseHover);
			this.label6.AutoSize = true;
			this.label6.Location = new System.Drawing.Point(23, 17);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(41, 12);
			this.label6.TabIndex = 5;
			this.label6.Text = "Cookie";
			this.lbFinishMsg.AutoSize = true;
			this.lbFinishMsg.ForeColor = System.Drawing.Color.Green;
			this.lbFinishMsg.Location = new System.Drawing.Point(409, 370);
			this.lbFinishMsg.Name = "lbFinishMsg";
			this.lbFinishMsg.Size = new System.Drawing.Size(53, 12);
			this.lbFinishMsg.TabIndex = 6;
			this.lbFinishMsg.Text = "下载完成";
			this.bt_back.Location = new System.Drawing.Point(23, 365);
			this.bt_back.Name = "bt_back";
			this.bt_back.Size = new System.Drawing.Size(140, 23);
			this.bt_back.TabIndex = 5;
			this.bt_back.Text = "返回第一步";
			this.bt_back.UseVisualStyleBackColor = true;
			this.bt_back.Click += new EventHandler(this.bt_back_Click);
			this.bt_download.Location = new System.Drawing.Point(468, 365);
			this.bt_download.Name = "bt_download";
			this.bt_download.Size = new System.Drawing.Size(140, 23);
			this.bt_download.TabIndex = 3;
			this.bt_download.Text = "开始下载";
			this.bt_download.UseVisualStyleBackColor = true;
			this.bt_download.Click += new EventHandler(this.bt_download_Click);
			this.groupBox3.Controls.Add(this.lbTime);
			this.groupBox3.Controls.Add(this.bt_open);
			this.groupBox3.Controls.Add(this.pb_load);
			this.groupBox3.Controls.Add(this.lb_msg);
			this.groupBox3.Location = new System.Drawing.Point(25, 267);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Padding = new Padding(8);
			this.groupBox3.Size = new System.Drawing.Size(584, 89);
			this.groupBox3.TabIndex = 5;
			this.groupBox3.TabStop = false;
			this.lbTime.AutoSize = true;
			this.lbTime.Location = new System.Drawing.Point(517, 9);
			this.lbTime.Name = "lbTime";
			this.lbTime.Size = new System.Drawing.Size(53, 12);
			this.lbTime.TabIndex = 6;
			this.lbTime.Text = "00:00:00";
			this.bt_open.Location = new System.Drawing.Point(498, 59);
			this.bt_open.Name = "bt_open";
			this.bt_open.Size = new System.Drawing.Size(75, 23);
			this.bt_open.TabIndex = 5;
			this.bt_open.Text = "打开目录";
			this.bt_open.UseVisualStyleBackColor = true;
			this.bt_open.Visible = false;
			this.bt_open.Click += new EventHandler(this.bt_open_Click);
			this.pb_load.Location = new System.Drawing.Point(11, 25);
			this.pb_load.Name = "pb_load";
			this.pb_load.Size = new System.Drawing.Size(562, 23);
			this.pb_load.TabIndex = 0;
			this.lb_msg.Font = new System.Drawing.Font("Verdana", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, 0);
			this.lb_msg.Location = new System.Drawing.Point(11, 64);
			this.lb_msg.Name = "lb_msg";
			this.lb_msg.Size = new System.Drawing.Size(562, 15);
			this.lb_msg.TabIndex = 4;
			this.lb_msg.Text = "请点击“开始下载”运行系统，下载完毕后可以点击菜单栏的“数据报表”查看详情。";
			this.groupBox2.Controls.Add(this.cbSimulation);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.cb_timeout);
			this.groupBox2.Controls.Add(this.cb_pathsetting);
			this.groupBox2.Controls.Add(this.label2);
			this.groupBox2.Location = new System.Drawing.Point(25, 135);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Padding = new Padding(22);
			this.groupBox2.Size = new System.Drawing.Size(584, 39);
			this.groupBox2.TabIndex = 2;
			this.groupBox2.TabStop = false;
			this.cbSimulation.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbSimulation.FormattingEnabled = true;
			this.cbSimulation.Location = new System.Drawing.Point(254, 14);
			this.cbSimulation.Name = "cbSimulation";
			this.cbSimulation.Size = new System.Drawing.Size(129, 20);
			this.cbSimulation.TabIndex = 4;
			this.label4.AutoSize = true;
			this.label4.Location = new System.Drawing.Point(195, 16);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(53, 12);
			this.label4.TabIndex = 3;
			this.label4.Text = "模拟抓取";
			this.label3.AutoSize = true;
			this.label3.Location = new System.Drawing.Point(409, 16);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(53, 12);
			this.label3.TabIndex = 2;
			this.label3.Text = "下载超时";
			this.cb_timeout.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cb_timeout.FormattingEnabled = true;
			this.cb_timeout.Location = new System.Drawing.Point(468, 14);
			this.cb_timeout.Name = "cb_timeout";
			this.cb_timeout.Size = new System.Drawing.Size(86, 20);
			this.cb_timeout.TabIndex = 1;
			this.cb_pathsetting.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cb_pathsetting.FormattingEnabled = true;
			this.cb_pathsetting.Location = new System.Drawing.Point(82, 14);
			this.cb_pathsetting.Name = "cb_pathsetting";
			this.cb_pathsetting.Size = new System.Drawing.Size(86, 20);
			this.cb_pathsetting.TabIndex = 1;
			this.cb_pathsetting.MouseHover += new EventHandler(this.cb_pathsetting_MouseHover);
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(23, 16);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(53, 12);
			this.label2.TabIndex = 0;
			this.label2.Text = "路径设置";
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(23, 34);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(53, 12);
			this.label1.TabIndex = 1;
			this.label1.Text = "网址列表";
			this.tb_urls.BackColor = System.Drawing.Color.White;
			this.tb_urls.Location = new System.Drawing.Point(25, 49);
			this.tb_urls.Multiline = true;
			this.tb_urls.Name = "tb_urls";
			this.tb_urls.ReadOnly = true;
			this.tb_urls.Size = new System.Drawing.Size(584, 81);
			this.tb_urls.TabIndex = 0;
			this.tb_urls.MouseHover += new EventHandler(this.tb_urls_MouseHover);
			this.bgw.WorkerReportsProgress = true;
			this.bgw.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bgw_DoWork);
			this.bgw.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bgw_ProgressChanged);
			this.bgw.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgw_RunWorkerCompleted);
			this.ll_weixin.AutoSize = true;
			this.ll_weixin.Location = new System.Drawing.Point(539, 19);
			this.ll_weixin.Name = "ll_weixin";
			this.ll_weixin.Size = new System.Drawing.Size(41, 12);
			this.ll_weixin.TabIndex = 8;
			this.ll_weixin.TabStop = true;
			this.ll_weixin.Text = "微信？";
			this.ll_weixin.LinkClicked += new LinkLabelLinkClickedEventHandler(this.ll_weixin_LinkClicked);
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.Controls.Add(this.groupBox1);
			base.Name = "Step2";
			base.Padding = new Padding(17);
			base.Size = new System.Drawing.Size(672, 440);
			base.Load += new EventHandler(this.Step2_Load);
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.groupBox5.ResumeLayout(false);
			this.groupBox5.PerformLayout();
			this.groupBox4.ResumeLayout(false);
			this.groupBox4.PerformLayout();
			this.groupBox3.ResumeLayout(false);
			this.groupBox3.PerformLayout();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			base.ResumeLayout(false);
		}
	}
}
